<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>余额查询</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
</head>
<body class="bg-light">
<div class="container mt-5">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <div class="card shadow">
                <div class="card-body">
                    <h2 class="card-title text-center mb-4">余额查询</h2>
                    <div class="text-center mb-4">
                        <h3>当前余额</h3>
                        <h1 class="text-primary">¥ {{ "%.2f"|format(card_info.balance) }}</h1>
                    </div>
                    <div class="d-grid gap-2">
                        <a href="{{ url_for('customer_dashboard') }}" class="btn btn-primary">返回仪表盘</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html> 